#if !GENERATOR

using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
using System.Collections.Generic;

using YF.OneNote;


namespace YF.OneNote.DataTypes
{
  public partial class UnfiledNotes
  {
    public UnfiledNotes()
    {
      
	}

    
  
    protected override bool UpdateSpecificContents(NotesHierarchyNode node, List<INotesChange> changes)
    {
	  UnfiledNotes item = (UnfiledNotes)node;
      bool changed = false;

      
      if (isCurrentlyViewed != item.isCurrentlyViewed)
      {
        changed = true;
		
		NotesPropertyChange propertyChange = new NotesPropertyChange();

        propertyChange.ChangeType = NoteChangeType.Changed;
        propertyChange.OldValue = isCurrentlyViewedField;
        propertyChange.NewValue = item.isCurrentlyViewedField;
        propertyChange.PropertyName = "isCurrentlyViewed";
        changes.Add(propertyChange);

		
        isCurrentlyViewedField = item.isCurrentlyViewedField;
      }


      return changed;
    }
  }
}

#endif